package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Repairquotation;
import com.vo.LineVo;
import com.vo.RepairquotationVo;

import java.util.List;

public interface RepairQuotationService {
    /***
     * 添加报修缴费
     * @param repairquotationVo
     * @return
     */
    public int addQuotation(RepairquotationVo repairquotationVo);

    /***
     * 业主查询缴费单
     * @param repairquotationVo
     * @param ownerid
     * @return
     */
    public PageInfo<Repairquotation> OwnerSelect(RepairquotationVo repairquotationVo, Integer ownerid);

    /***
     * 业主根据id将维修缴费单状态改为已缴费
     * @param id
     * @return
     */
    public int OwnerUpdateQuotationState(Integer id);
    /**
     * 查询所有的金额
     */

    public List<LineVo> selectallrepairquotation();

}
